<template>
  <div class="menu">
    <h1 @click="loginClick">我是菜单页面</h1>
  </div>
</template>

<script>
import { onBeforeMount, onMounted, reactive, ref, toRefs, unref } from "vue"
import { useRouter } from 'vue-router'
export default {
    setup() {
        // const store = useStore();
        const router = useRouter();
        const loginClick=()=>{
          router.push({path:"/system/role"})
        }
        return {
          loginClick
        }
    },

}
</script>

<style lang="less" scoped>

</style>